package template;

import logist.topology.Topology.City;

public class BestAction {
	private City destination;
	
	public BestAction(){
		destination =null;
	}
	
	public BestAction(City city){
		destination = city;
	}
	
	public boolean isPickUp(){
		if(destination == null){
			return true;
		}
		return false;
	}
	
	public boolean isMove(){
		if(destination == null){
			return false;
		}
		return true;
	}
	
	public City getCity(){
		return destination;
	}
	
	public String toString(){
		if(destination == null){
			return "PickUp!";
		}
		return "Move to " + destination.toString()+ "!";
	}
}
